package gat.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

import com.bitsun.core.common.annotation.IgnoreBgField;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * spring boot的入口
 * @author: tmac
 * @email: tmac
 */

@IgnoreBgField
@EnableSwagger2
//@EnableScheduling
@SpringBootApplication(scanBasePackages = {"gat","com.bitsun.core"})
@MapperScan("gat.infrastructure.persistence.dao*")
@ServletComponentScan
public class TgAdminApplication {
    public static void main(String[] args) {
            SpringApplication.run(TgAdminApplication.class, args);

    }

}
